﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C45 RID: 3141
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmStartLevelCsReq : IMessage<MusicRhythmStartLevelCsReq>, IMessage, IEquatable<MusicRhythmStartLevelCsReq>, IDeepCloneable<MusicRhythmStartLevelCsReq>, IBufferMessage
	{
		// Token: 0x17002798 RID: 10136
		// (get) Token: 0x06008C73 RID: 35955 RVA: 0x00175934 File Offset: 0x00173B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmStartLevelCsReq> Parser
		{
			get
			{
				return MusicRhythmStartLevelCsReq._parser;
			}
		}

		// Token: 0x17002799 RID: 10137
		// (get) Token: 0x06008C74 RID: 35956 RVA: 0x0017593B File Offset: 0x00173B3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmStartLevelCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700279A RID: 10138
		// (get) Token: 0x06008C75 RID: 35957 RVA: 0x0017594D File Offset: 0x00173B4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmStartLevelCsReq.Descriptor;
			}
		}

		// Token: 0x06008C76 RID: 35958 RVA: 0x00175954 File Offset: 0x00173B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelCsReq()
		{
		}

		// Token: 0x06008C77 RID: 35959 RVA: 0x0017595C File Offset: 0x00173B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelCsReq(MusicRhythmStartLevelCsReq other) : this()
		{
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008C78 RID: 35960 RVA: 0x00175981 File Offset: 0x00173B81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelCsReq Clone()
		{
			return new MusicRhythmStartLevelCsReq(this);
		}

		// Token: 0x1700279B RID: 10139
		// (get) Token: 0x06008C79 RID: 35961 RVA: 0x00175989 File Offset: 0x00173B89
		// (set) Token: 0x06008C7A RID: 35962 RVA: 0x00175991 File Offset: 0x00173B91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x06008C7B RID: 35963 RVA: 0x0017599A File Offset: 0x00173B9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmStartLevelCsReq);
		}

		// Token: 0x06008C7C RID: 35964 RVA: 0x001759A8 File Offset: 0x00173BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmStartLevelCsReq other)
		{
			return other != null && (other == this || (this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008C7D RID: 35965 RVA: 0x001759D8 File Offset: 0x00173BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008C7E RID: 35966 RVA: 0x00175A17 File Offset: 0x00173C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008C7F RID: 35967 RVA: 0x00175A1F File Offset: 0x00173C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008C80 RID: 35968 RVA: 0x00175A28 File Offset: 0x00173C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008C81 RID: 35969 RVA: 0x00175A5C File Offset: 0x00173C5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008C82 RID: 35970 RVA: 0x00175A9A File Offset: 0x00173C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmStartLevelCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008C83 RID: 35971 RVA: 0x00175ACB File Offset: 0x00173CCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008C84 RID: 35972 RVA: 0x00175AD4 File Offset: 0x00173CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040035AC RID: 13740
		private static readonly MessageParser<MusicRhythmStartLevelCsReq> _parser = new MessageParser<MusicRhythmStartLevelCsReq>(() => new MusicRhythmStartLevelCsReq());

		// Token: 0x040035AD RID: 13741
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035AE RID: 13742
		public const int LevelIdFieldNumber = 13;

		// Token: 0x040035AF RID: 13743
		private uint levelId_;
	}
}
